package com.ktjy.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author 黄军艳
 * @version 1.0
 * @date 2025/1/2  13:50
 */
@Data
//表名注解，标识实体类对应的表
@TableName("sys_user")
public class SysUser {
    //主键注解
    @TableId
    private Long usrId;
    //字段注解
    @TableField("usr_name")
    private String usrName;
    private String usrPassword;
    private Long usrRoleId;
    private Integer usrFlag;

    @TableField(exist = false)
    private String roleName;
}
